package com.SmartClassroom.system.mapper;

import com.SmartClassroom.system.model.domain.Grade;
import com.SmartClassroom.system.model.dto.grade.GradeQueryRequest;
import com.SmartClassroom.system.model.vo.GradeVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author baijiayu
* @description 针对表【Grade(成绩)】的数据库操作Mapper
* @createDate 2024-11-19 11:01:52
* @Entity generator.domain.Grade
*/
public interface GradeMapper extends BaseMapper<Grade> {

    List<GradeVO> getQueryWrapper(@Param("pageParam") Page<GradeVO> pageParam,
                                  @Param("gradeQueryRequest") GradeQueryRequest gradeQueryRequest);

    List<GradeVO> getQueryByMy(@Param("pageParam") Page<GradeVO> pageParam,
                              @Param("gradeQueryRequest") GradeQueryRequest gradeQueryRequest,
                               @Param("username") String username);

    List<GradeVO> getQueryWrapperByExcel();
}




